package com.mdc.mansion.dataaccess.modules.basedata.entity;

import com.mdc.mansion.dataaccess.common.persistence.BaseEntity;
import java.util.Date;
/**
 * app版本信息持久类
 * @author mingdongc
 * @version 2018-01-01
 */
public class AppVersion extends BaseEntity<AppVersion>{
	private static final long serialVersionUID = 1L;
    private String version;
    private String channel;
    private String note;
    private String englishNote;
    private Date onlineTime;
    private Integer forceUpgradeFlag;
    private String packageUri;
    private String platform;
    private String beginTime;
    private String endTime;

    public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getVersion(){
        return version;
    }

    public void setVersion(String version){
        this.version=version;
    }

    public String getChannel(){
        return channel;
    }

    public void setChannel(String channel){
        this.channel=channel;
    }

    public String getNote(){
        return note;
    }

    public void setNote(String note){
        this.note=note;
    }
    


	public String getEnglishNote() {
		return englishNote;
	}

	public void setEnglishNote(String englishNote) {
		this.englishNote = englishNote;
	}

	public Date getOnlineTime(){
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime){
        this.onlineTime=onlineTime;
    }

    public Integer getForceUpgradeFlag(){
        return forceUpgradeFlag;
    }

    public void setForceUpgradeFlag(Integer forceUpgradeFlag){
        this.forceUpgradeFlag=forceUpgradeFlag;
    }

    public String getPackageUri(){
        return packageUri;
    }

    public void setPackageUri(String packageUri){
        this.packageUri=packageUri;
    }

    public String getPlatform(){
        return platform;
    }

    public void setPlatform(String platform){
        this.platform=platform;
    }

    //android、ios、ipad
    public enum PLATFORM{
        ANDROID("android","android"),
        IOS("ios","ios"),
        IPAD("ipad","ipad");
        private String name;
        private String val;

        PLATFORM(String name, String val) {
            this.name = name;
            this.val = val;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }
    }

}